package com.net.xpay.core.model;

import com.net.common.model.PagedModel;
import com.net.xpay.core.enums.BookAccountChargeOrderStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 2020/5/11 15:36

 */
@Getter
@Setter
@NoArgsConstructor
public class BookAccountChargeOrderSearchModel extends PagedModel {
    @ApiModelProperty(notes = "支付宝账号")
    private String alipayNickName;

    @ApiModelProperty(notes = "#{minCreateTime} <= create_time")
    private LocalDateTime minCreateTime;

    @ApiModelProperty(notes = "#{maxCreateTime} > create_time")
    private LocalDateTime maxCreateTime;

    @ApiModelProperty(notes = "外部订单号")
    private String importBizNo;

    @ApiModelProperty(notes = "订单状态")
    private BookAccountChargeOrderStatus status;

    @ApiModelProperty(notes = "来源")
    private String source;

    //以下为后台自动填充字段,前端不要赋值
    @ApiModelProperty(notes = "用户编号")
    private Long userId;
}
